Repos API

The Repos API allows you to list all Logpoint instances and their repos. You must create a JWT using the following scope to use the Repos API. Go to Creating a JSON Web Token for more information.

Scope name

Function

logsource:read

Lists the available Logpoint instances and repos

To list the available Logpoint instances and repos, use /Repo/get_all_searchable_logpoint.

Endpoint URL

Method

POST

Request Headers

  • Content-Type = application/json

  • Authorization = Bearer <TOKEN>

Parameters

Parameters are data sent with the API request. You must include them in the request body as raw text.

Request Example:

A successful response returns an HTTP status code 200.

Success Response:

{
    "rows": [
        {
        "active": true,
        "li": "LogPoint",
        "li_ip": "127.0.0.1",
        "repos": [
            {
            "active": "True",
            "address": "127.0.0.1:5504/_logpoint",
            "ha": "string",
            "repo": "_logpoint"
            }
        ]
        }
    ]
}

Helpful?

We are glad this guide helped.


Please don't include any personal information in your comment

Contact Support